#ifndef CADRE_H
#define CADRE_H

#include <QLayout>
#include <QList>
#include "case.h"

class Cadre : public QObject
{
    Q_OBJECT
public:
    Cadre(QObject *parent = 0);
    virtual void save(const QString & nom,const QSize &tailleImage)=0;
    virtual void initialisation() ;
    virtual void majCadre();
    virtual QSize dimensionCase()const=0;
    virtual ~Cadre();
protected:
    QList<QBoxLayout*> _boxLayout;
public:
    QBoxLayout layout;
public:
    QList<Case*> liste;
signals:
    void deSelection();
public slots:
    void majSelection();
    
};

#endif // CADRE_H
